import request from '@/utils/request'

// 查询学生考试申请审批信息列表
export function listExamApplicationApprovalInfo(applicationId) {
  return request({
    url: '/student/examApplicationApprovalInfo/list/' + applicationId,
    method: 'get',
  })
}

// 查询学生考试申请审批信息详细
export function getExamApplicationApprovalInfo(id) {
  return request({
    url: '/student/examApplicationApprovalInfo/' + id,
    method: 'get'
  })
}

// 新增学生考试申请审批信息
export function addExamApplicationApprovalInfo(data) {
  return request({
    url: '/student/examApplicationApprovalInfo',
    method: 'post',
    data: data
  })
}

// 修改学生考试申请审批信息
export function updateExamApplicationApprovalInfo(data) {
  return request({
    url: '/student/examApplicationApprovalInfo',
    method: 'put',
    data: data
  })
}

// 删除学生考试申请审批信息
export function delExamApplicationApprovalInfo(id) {
  return request({
    url: '/student/examApplicationApprovalInfo/' + id,
    method: 'delete'
  })
}
